package com.tgh.gles2.c7.pointSprites;
import com.tgh.gles2.RendererActivity;

import android.opengl.GLSurfaceView;
import android.os.Bundle;

public class GLActivity extends RendererActivity{
    private SpaceFlightRenderer mRenderer;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mRenderer = new SpaceFlightRenderer(this);
        mRenderer.setSurfaceView(mSurfaceView);
        setRenderer(mRenderer);
    }
    @Override
    protected void onResume() {
        super.onResume();
        mSurfaceView.setRenderMode(GLSurfaceView.RENDERMODE_CONTINUOUSLY);
    }
}
